package com.posjiajia.user.core.dao;

import com.posjiajia.user.core.po.DevicePo;

import java.util.List;

/**
 * @author zhenhua.sun
 * @title com.posjiajia.user.core.dao
 * @date 9/25/16
 */
public interface DeviceDao {

    int insert(DevicePo devicePo);

    int update(DevicePo devicePo);

    DevicePo selectByKey(Long deviceId);

    List<DevicePo> selectList(DevicePo devicePo);

    DevicePo selectByMac(String mac);
}
